import listBuilder from "@/comps/list/listBuilder";

/*
lb.add("belongTo","所属",80)
lb.add("src","源单明细ID",80)
lb.add("srcSN","源单单号",80)
lb.add("product","产品",80)
lb.add("num","数量",80)
lb.add("unit","单位",80)
lb.add("price","含税单价",80)
lb.add("money","含税总价",80)
lb.add("cut","优惠金额",80)
lb.add("cutRate","折扣率",80)
lb.add("tax","税额",80)
lb.add("taxRate","税率",80)
lb.add("priceRef","参考单价",80)
lb.add("moneyRef","参考总价",80)
lb.add("priceConfirm","评审单价",80)
lb.add("moneyConfirm","评审总价",80)
lb.add("note","备注",80)
lb.add("row","RN",80)

*/
export default function () {
    let lb = listBuilder()
    lb.add("id","#",80)

    lb.add("product","产品",180).setListIsObjectName()
    lb.add("num","数量",80)
    lb.add("unit","单位",80).setListIsObjectName()
    lb.add("taxRate","税率",110).setListIsObjectName()
    lb.add("price","参考单价",110)
    lb.add("money","参考总价",110)
    lb.add("note","备注",0)
    lb.add("row","RN",80)
    lb.add("belongTo","销售询价单",180).setListIsObject("title")
    lb.addAction(120).setAlignRight()
    return lb.headers
}